import { createRouter, createWebHistory } from 'vue-router'

import Shopping from '@/components/page/Shopping.vue'
import Name from "@/components/page/Name.vue"
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
             {
                path: '/',
                redirect: '/Shopping'
             },

             {
                path: '/Shopping',
                component: Shopping
             },
              {
                 path: '/Name',
                 component: Name
              },

          ]
})

export default router
